If include dashboard in a website, use build website or rmarkdown::render("dashboard.Rmd", output_format = "flexdashboard::flex_dashboard") in console to show dashboard properly
rmarkdown::render("dashboard.Rmd", output_format = "flexdashboard::flex_dashboard")